GXEqualColorSet
You can use theGXEqualColorSet
function to determine whether two color set objects are equal.
boolean GXEqualColorSet(gxColorSet one, gxColorSet two);
one
- A reference to one of the color sets to test for equality.
two
- A reference to the other color set to test for equality.
- function result
true
if the two color sets are equal;false
otherwise.DESCRIPTION
TheGXEqualColorSet
function tests two color set objects for equality. For two color sets to be equal, they must have the same color space and identical color values--in the same order. Their owner counts and tag lists need not be identical.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory colorSet_is_nil SEE ALSO
To make a copy of a color set object that is equal by the criteria of this function, use theGXCopyToColorSet
function, described in the previous section.